package com.ruicar.afs.cloud.manage.common.condition;


import com.ruicar.afs.cloud.common.modules.contract.enums.ContractBusinessEnum;
import com.ruicar.afs.cloud.manage.common.entity.ManageSmsTemplate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author: Lee
 * @date 2020-08-20 10:09:32
 * @description 发送短消息，接收参数
 */
@Data
public class MessageTemplateCondition extends ManageSmsTemplate {
    int pageSize;
    int pageNumber;
    @ApiModelProperty("客户名")
    private String name;
    @ApiModelProperty("手机号码/邮箱")
    @NotBlank(message = "手机号码/邮箱不能为空")
    private String number;
    @ApiModelProperty("合同号码")
    private String contractNo;
    @ApiModelProperty("与主借人关系，用于配偶和其他人区分")
    private String custRelation;
    @ApiModelProperty("合同业务类型")
    private ContractBusinessEnum contractBusiness;
    @ApiModelProperty("是否自定义")
    private String whetherCustom;
}
